Firefighters responded to 190 West Shore Trail and worked to extinguish the blaze, Sparta police said in a release.
One of the residents had to be transported to a nearby hospital with minor burns and smoke inhalation, police said.
The Sparta Police Detective Bureau will be investigating the origin of the fire, police said.
Click here to follow Daily Voice Morris Plains and receive free news updates.